﻿Imports System.ComponentModel.DataAnnotations

Namespace Ita.ProElicere.Model

    Public Class Attribute


        <ScaffoldColumn(False)> _
        Public Property AttributeID() As Integer

        <Required(ErrorMessage:="The name is required"), StringLength(100), Display(Name:="Name")> _
        Public Property AttributeName() As String

        <StringLength(100), Display(Name:="Name2")> _
        Public Property AttributeName2() As String

        <Required(ErrorMessage:="The description is required"), StringLength(10000), Display(Name:="Description"), DataType(DataType.MultilineText)> _
        Public Property Description() As String


        Public Property ReferenceID() As System.Nullable(Of Integer)

        Public Overridable Property Reference() As Reference

        <StringLength(100), Display(Name:="Source Additional")> _
        Public Property SourceAdditional() As String

        Public Overridable Property Tatics() As ICollection(Of Tatic)

    End Class
End Namespace